/*    */ package com.iris.egrant.model.proposal;
/*    */ 
/*    */

import com.iris.egrant.component.model.CriteriaSetPK;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ @Embeddable
/*    */ public class PrpPorjectPk
/*    */   implements Serializable
/*    */ {
/*    */   private static final long serialVersionUID = -6643729214922576565L;
/*    */   @Column(name = "PRJ_CODE")
/*    */   private Long prjCode;
/*    */   @Column(name = "USE_PSN_CODE")
/*    */   private Long usePsnCode;
/*    */   
/*    */   public boolean equals(Object other) {
/* 31 */     if (this == other) {
/* 32 */       return true;
/*    */     }
/* 34 */     if (!(other instanceof CriteriaSetPK)) {
/* 35 */       return false;
/*    */     }
/* 37 */     PrpPorjectPk castOther = (PrpPorjectPk)other;
/* 38 */     return (this.usePsnCode == castOther.usePsnCode && this.prjCode == castOther.prjCode);
/*    */   }
/*    */ 
/*    */ 
/*    */   
/*    */   public int hashCode() {
/* 44 */     int prime = 31;
/* 45 */     int hash = 17;
/* 46 */     hash = hash * 31 + (int)(this.usePsnCode.longValue() ^ this.usePsnCode.longValue() >>> 32L);
/* 47 */     hash = hash * 31 + (int)(this.prjCode.longValue() ^ this.prjCode.longValue() >>> 32L);
/*    */     
/* 49 */     return hash;
/*    */   }
/*    */   
/*    */   public Long getPrjCode() {
/* 53 */     return this.prjCode;
/*    */   }
/*    */   
/*    */   public void setPrjCode(Long prjCode) {
/* 57 */     this.prjCode = prjCode;
/*    */   }
/*    */   
/*    */   public Long getUsePsnCode() {
/* 61 */     return this.usePsnCode;
/*    */   }
/*    */   
/*    */   public void setUsePsnCode(Long usePsnCode) {
/* 65 */     this.usePsnCode = usePsnCode;
/*    */   }
/*    */ }


/* Location:              D:\文件kjt\WEB-INF\lib\egrant-code-2.2.20240205.1659.jar!\com\iris\egrant\model\proposal\PrpPorjectPk.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */